From ed7122552533cf2fec6a8dbaa3eeca3ffe8c4524 Mon Sep 17 00:00:00 2001 From: Markus Rost Date: Tue, 12 Nov 2002 19:50:54 +0000 Subject: [PATCH] (vc-sccs-registered): Handle the autoload cookie so that the definition is found by `find-function-search-for-symbol' and etags. --- lisp/vc-sccs.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el index eddc990a4f4..c5f2d660a79 100644 --- a/lisp/vc-sccs.el +++ b/lisp/vc-sccs.el @@ -5,7 +5,7 @@ ;; Author: FSF (see vc.el for full credits) ;; Maintainer: Andre Spiegel -;; $Id: vc-sccs.el,v 1.16 2002/10/08 15:35:03 monnier Exp $ +;; $Id: vc-sccs.el,v 1.17 2002/10/08 20:24:21 monnier Exp $ ;; This file is part of GNU Emacs. @@ -88,8 +88,9 @@ For a description of possible values, see `vc-check-master-templates'." ;;; State-querying functions ;;; -;;;###autoload -(progn (defun vc-sccs-registered (f) (vc-default-registered 'SCCS f))) +;;; The definition should be at beginning of line (for Help and etags). +;;;###autoload(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f)) +(defun vc-sccs-registered (f) (vc-default-registered 'SCCS f)) (defun vc-sccs-state (file) "SCCS-specific function to compute the version control state." -- 2.30.2